import React from 'react';
export interface Iprops {
    history:any;
    [props:string]:any
}
class Login extends React.Component<Iprops> {
    
    render() {
        console.log(this.props)
        return <div className=''>
            登录页面
            <button onClick={()=>this.props.history.push('/register')}>注册</button>
        </div>;
    }
}
export default Login